#1
"""
a = dict.fromkeys(("name","age","sex"))
b = dict.fromkeys(("王长帅",18,"男"))
print(a)
print(b)
print(dict(zip(a,b)))
"""
#2
"""
a = ["王长帅","刘子铭","杨晓楠"]
b = ["好","坏","好"]
c = list(zip(a,b))
print(c)
d = dict(zip(a,b))
print(d)
e = tuple(zip(a,b))
print(e)
f = set(zip(a,b))
print(f)
"""
#3
"""
a = {2,3,4,5,7}
for i in a:
    if i == 3:
        print("3在集合a中！")
    if i ==12:
        print("12在集合a中！")
else:
    print("12不在集合a中！")
"""
#4
"""
user = input("请输入账号").strip()
passwd= input("请输入密码").strip()
if user == "admin" and passwd == "123456":
    print("登录成功！")
else:
    print("登录失败！")
"""
#5
"""
for i in range(3):
    user = input("请输入账号")
    pwd = input("请输入密码")
    if (user == "seven" or user == "alex") and pwd == "123":
        print("登录成功！")
        break
    elif i<2:
        print(f"本次登录失败，你还有{3-1-i}次机会")
    elif i == 2:
        print("您没有机会了，登录失败！")
"""

"""
for i in range(3):
    user = input("请输入账号").strip()
    passwd= input("请输入密码").strip()
    if (user == "seven" or user == "alex") and passwd == "123":
     print("登录成功！")
     break
    elif i <2:
     print(f"登录失败，还有{3-i-1}次机会！")
    elif i == 2:
        print("您没有机会了，登录失败！")
"""
#6
"""
b =0
for i in range(1,101):
    if i%3 == 0:
        b+=1
print(b)
"""
#7
"""
for i in range(3):
    content = input("请输入内容")
    if "c" in content:
        print(f"您输入的内容中包含c！您还有{3-i-1}次机会")
    elif "c" not in content:
        print(f"您输入的内容不含c！您还有{3-1-i}次机会")
    elif "c" not in content:
        print(f"您输入的内容不含c！您没有机会了！")
"""
#8
# student_dict={"name":1,"number":2,"address":3,"age":4}
# while True:
#     print("1.请输入姓名")
#     print("2.请输入电话号码")
#     print("3.请输入地址")
#     print("4.请输入年龄")
#     print("q.结束输入")
#     put = input("请输入您要选择填写信息的号码")
#     if put == "1":
#         user = input("请输入姓名")

#12
"""
str = "hello world"
a = int(str.index("d"))
b = int(str.index(" "))
c= a-b
print(c)
"""
#13
"""
b = input("请输入需要反转的字符串")
print(b[::-1])
"""
#14
"""
user = input("请输入一个整数")
a=int(user)
if a%2 ==0:
    print("输入的数为偶数")
else:
    print("输入的数为奇数！")
"""
#15
"""
n=0
for a in range(1,100):
    if a%7 ==0 and a%5 !=0:
        n+=1
print(n)
"""
#16
"""
b = int(input("输入第一个数字："))
c = int(input("输入第二个数字："))
d = int(input("输入第三个数字："))
a = b
if c < a:
 a = c
 if d < a:
  a = d
print("最小的数：",a)
"""






#19
"""
a = int(input("输入的整数为："))
b=len(str(a))
print(f"您输入的整数{a}为{b}位数")
"""
#20
"""
a={'name':'韩梅梅','age':33}
a['name']='韩涛'
print(a)
a.update({'sex':'男'})
print(a)
b=a.pop('age')
print(b)
"""
#21
a=[1,2,3,4,5,99,68,12]
# print(a.index(2))
del  a[a.index(3)]
print(a)














    
